<?php
/**
 * Created by PhpStorm.
 * User: stupboy
 * Date: 2018/1/26
 * Time: 17:17
 */

namespace app\api\model;
use app\api\model\Common;

class RefuelRecord extends Common
{
    public function car(){
        return $this->hasOne('Car', 'car_id', 'car_id');
    }
}